package com.bw.service;

import com.bw.dao.OrderDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service

public class OrderServiceImpl implements OrderService {
    @Autowired
    OrderDao orderDao;

    @Override
    public List<Map> total(String newDate) {
        return orderDao.total("2023-01-06");
    }

    @Override
    public List<Map> amountbi() {
        return orderDao.amountbi();
    }

    @Override
    public List<Map> count() {
        return orderDao.count();
    }

    @Override
    public List<Map> orderbi() {
        return orderDao.orderbi();
    }

    @Override
    public List<Map> amount() {
        return orderDao.amount();
    }

    @Override
    public List<Map> max() {
        return orderDao.max();
    }

    @Override
    public List<Map> orderamount() {
        return orderDao.orderamount();
    }
}
